package com.yh.correct.model;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

/**
 * 思想教育登记
 * 
 * @author 陈帅
 * id,jid,pid,date,type,performance,content,basiscore,score
 * (思想登记id,矫正单位id,服刑人员表id,学习日期,教育方式,学习内容,基准分值,得分)
 *         
 */
public class Thought {
	/**
	 * 思想登记id
	 */
	private Integer id;
	/**
	 * 矫正单位id
	 */
	private Integer jid;
	/**
	 * 服刑人员表id
	 */
	private Integer pid;
	/**
	 * 学习日期
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date date;
	/**
	 * 教育方式
	 */
	private String type;
	/**
	 * 表现情况
	 */
	private String performance;
	/**
	 * 学习内容
	 */
	private String content;
	/**
	 * 基准分值
	 */
	private Integer basiscore;
	/**
	 * 得分
	 */
	private Integer score;
	
	/**
	 * 备注
	 */
	private String remark;
	
	

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getJid() {
		return jid;
	}

	public void setJid(Integer jid) {
		this.jid = jid;
	}

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getPerformance() {
		return performance;
	}

	public void setPerformance(String performance) {
		this.performance = performance;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getBasiscore() {
		return basiscore;
	}

	public void setBasiscore(Integer basiscore) {
		this.basiscore = basiscore;
	}

	public Integer getScore() {
		return score;
	}

	public void setScore(Integer score) {
		this.score = score;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public String toString() {
		return "Thought [id=" + id + ", jid=" + jid + ", pid=" + pid + ", date=" + date + ", type=" + type
				+ ", performance=" + performance + ", content=" + content + ", basiscore=" + basiscore + ", score="
				+ score + ", remark=" + remark + "]";
	}
	
}
